package com.invoker;

import java.util.LinkedList;

import com.command.Command;

public class Invoker {
	private Command com_victory;
	private Command com_failure;
	public Invoker(Command victory, Command failure){
		super();
		com_victory = victory;
		com_failure = failure;
	}
	
	public void victory(){
		com_victory.execute();
	}
	
	public void failure(){
		com_failure.execute();
	}
	
}
